import 'package:ducafe_ui_core/ducafe_ui_core.dart';
import 'package:flutter/material.dart';
import 'package:kudos/core/utils/kudo_colors.dart';

extension BottomPadding on Widget {
  Widget configWidget({
    Color? color,
    double? borderRadius,
    double? bottomPadding,
  }) {
    return Container(
      decoration: BoxDecoration(
        color: color ?? KudoColors.black,
        borderRadius: BorderRadius.circular(borderRadius ?? 12.r),
      ),
      padding: EdgeInsets.only(bottom: (bottomPadding ?? 3).h),
      child: this,
    );
  }
}
